<?php
namespace app\admin\route;
use think\facade\Route;
Route::post('login', 'Passport/login')->allowCrossDomain();